#define _CRT_SECURE_NO_WARNINGS 1

#include"Queue.h"

int main()
{
	Queue Q;
	QueueInit(&Q);
	QueuePush(&Q, 1);
	QueuePush(&Q, 2);
	QueuePush(&Q, 3);
	QueuePush(&Q, 4);

	while (!QueueEmpty(&Q))
	{
		printf("%d-", QueueFront(&Q));
		QueuePop(&Q);
	}

	QueueDestroy(&Q);

	return 0;
}